package com.whnk.attendance.api;

import com.whnk.attendance.api.factory.RemoteMonthEmpStatisFallbackFactory;
import com.whnk.attendance.api.vo.MonthEmpStatisBatchQueryVo;
import com.whnk.common.core.constant.ServiceNameConstants;
import com.whnk.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 每月统计(员工口径)服务
 *
 * @author
 */
@FeignClient(contextId = "remoteMonthEmpStatisService", value = ServiceNameConstants.ATTENDANCE_SERVICE, fallbackFactory = RemoteMonthEmpStatisFallbackFactory.class)
public interface RemoteMonthEmpStatisService {
    @PostMapping("/monthEmpStatis/batchComputer")
    public R<Boolean> batchComputer(@RequestBody MonthEmpStatisBatchQueryVo monthEmpStatisBatchQueryVo);
}
